<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition 
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:p="http://primefaces.org/ui">
 	<!-- Contenido -->
 	<h:head>
 		<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" />
 		<script language="javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
 	</h:head>
 	<div class="container">
 	<h1>Datos Usuario Registrado</h1>
 		<div class="form-horizontal">
            <div class="form-group"> 
                <label class="col-md-2 control-label">Username:</label>
                <p class="form-control-static">#{agregarUsuarioMB.usuario.usernameUsuario}</p>
            </div>
            <div class="form-group">
<!--        Hacer que se vea tapado -->
                <label class="col-md-2 control-label">Password:</label> 
                <p class="form-control-static">#{agregarUsuarioMB.usuario.passwordUsuario}</p>
            </div>
            <div class="form-group">               
                <label class="col-md-2 control-label">Nombre:</label>
                <p class="form-control-static">#{agregarUsuarioMB.usuario.nombreUsuario}</p>
            </div>
            <div class="form-group">
                <label class="col-md-2 control-label">Apellido:</label>
                <p class="form-control-static">#{agregarUsuarioMB.usuario.apellidoUsuario}</p> 
            </div>
            <div class="form-group">
                    <div class="col-md-offset-2 col-md-10">
                        <button id="volver" class="btn btn-success">Volver</button>
                    </div>
            </div>
        </div>
 	</div>
 	<script>
 		$('#volver').click(function(){
 			$(location).attr('href','/ProyectoTraineeWeb/index.jsf');
 		});
 	</script>
 	<!-- Fin Contenido -->
</ui:composition>